package com.example.aigc_education.integration.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChatMessageRequest implements Serializable {

    public enum Role {
        USER,
        AI
    }

    // 消息内容
    private String content;
    // 发送角色
    private Role role;
    // 是否分块传输
    private boolean chunkResp;
    // 用户ID
    private String userId;
    // 对话ID
    private String convId;
    // 消息ID
    private String messageId;
}
